﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Fotobanka
{
    /// <summary>
    /// Trida reprezentujici tabulku Comments v databazi
    /// </summary>
    public class CommentsObject
    {
        private int id;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private string text;

        public string Text
        {
            get { return text; }
            set { text = value; }
        }
        private int photo_id;

        public int Photo_id
        {
            get { return photo_id; }
            set { photo_id = value; }
        }
        private int user_id;

        public int User_id
        {
            get { return user_id; }
            set { user_id = value; }
        }
        private byte lock_version;

        public byte Lock_version
        {
            get { return lock_version; }
            set { lock_version = value; }
        }
        private DateTime created_on;

        public DateTime Created_on
        {
            get { return created_on; }
            set { created_on = value; }
        }
        private DateTime updated_on;

        public DateTime Updated_on
        {
            get { return updated_on; }
            set { updated_on = value; }
        }

        private String jmeno;

        public String Jmeno
        {
            get { return jmeno; }
            set { jmeno = value; }
        }
        private String prijmeni;

        public String Prijmeni
        {
            get { return prijmeni; }
            set { prijmeni = value; }
        }

        private String deleteLink;

        public String DeleteLink
        {
            get { return deleteLink; }
            set { deleteLink = value; }
        }
    }
}
